package com.ccys.db.entity;

import com.ccys.db.rely.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* Created by Mybatis Generator on 2023/12/08
*/
@Data
@Table(name = "tbl_pharmacy")
@NoArgsConstructor
@AllArgsConstructor
public class TblPharmacy extends BaseEntity {
    /**
     * 1:group;2:external;3:clinic

     */
    @ApiModelProperty("1:group;2:external;3:clinic ")
    private Integer type;

    private String code;

    @Column(name = "group_id")
    private String groupId;

    @Column(name = "country_id")
    private String countryId;

    @Column(name = "clinic_id")
    private String clinicId;

    @Column(name = "pharmacy_group_id")
    private String pharmacyGroupId;

    private String name;

    private String email;

    private String phone;

    @Column(name = "postal_code")
    private String postalCode;

    private String address;

    @Column(name = "floor_number")
    private String floorNumber;

    private String latitude;

    private String longitude;

    private Integer status;

    @Column(name = "disp_order")
    private Integer dispOrder;

    private String pharmacist;

    private String image;

    @Column(name = "collection_instruction")
    private Integer collectionInstruction;

    @Column(name = "collection_day")
    private Integer collectionDay;

    @Column(name = "important_note")
    private String importantNote;
}